package com.egan.pet.admin.repository.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.egan.entity.po.User;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author egan
 * @since 2024-09-09
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where phone = #{phone}")
    User getByPhone(String phone);

}
